package com.cango.qutz.web.entity;

import java.io.Serializable;

import com.cango.framework.base.Constants;

/**
 * 接口返回对象
 * 
 * @author yijuns
 *
 */
public class ReturnVO implements Serializable {
    private static final long serialVersionUID = 1390920265042828381L;
    private int status;
    private String message;
    private Object data;


    public ReturnVO() {

    }

    public ReturnVO(int status) {
        this.status = status;
        this.message = Constants.EMPTY;
    }

    public ReturnVO(int status, String message) {
        this.status = status;
        this.message = message;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

}
